Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio device picker #2028

Merged
merged 7 commits into from
Jun 2, 2020
Merged

Conversation

Wibble199
Copy link
Collaborator

Adds the ability to select which audio device to use for individual audio visualizer layers and globally for the local pc information game state.

Helps with easily swapping devices on-the-fly.
…or the local pc inf game state.

Changing the gamestate device requires a restart.
This allows re-creating the MMDevice on the correct thread. The device is only recreated if the ID has changed, so the only overheard of calling it each frame is a string comparison.
How dumb am I to not notice this bug at first... :(
@Bluscream
Copy link

Fixes #1784 and #1975

@diogotr7 diogotr7 merged commit bf1db63 into antonpup:dev Jun 2, 2020
@Wibble199 Wibble199 deleted the feature/audio-device-picker branch June 25, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants